using System;
using NWrapper.Attributes;
using NWrapper.Entities;

namespace NWrapper.Tests
{
	[Entity("WORMRepo")]
	public class Author : EntityBase
	{
		private string _id;
		private string _lname;
		private string _fname;

		public Author()
		{
		}
		public Author(string id, string firstName, string lastName)
		{
			_id = id;
			_fname = firstName;
			_lname = lastName;
		}

		public string ID
		{
			get { return _id; }
			set { _id = value; }
		}
		public string LastName
		{
			get { return _lname; }
			set { _lname = value; }
		}
		public string FirstName
		{
			get { return _fname; }
			set { _fname = value; }
		}
	}
}
